package com.example.qxfw.dataBaseManager.nyzjk.service;

import com.example.qxfw.common.entity.ny.AgriWeatherDistRecord;
import com.example.qxfw.common.entity.ny.StationInfo;

import java.util.List;

/************************************
 *
 * @author : HuangDeYin Jolly
 * @since : JDK 11
 * @Date : 2023/7/6  星期四   3:03
 * @description : 此类用来
 ***************************************/
public interface QxzhlskService {

    List<AgriWeatherDistRecord> selectAll();


    List<AgriWeatherDistRecord> getDisasterType();

    List<StationInfo> selectStationInfo(String column, String tableName, String query ,String order, Integer limit);

    List<AgriWeatherDistRecord> selectAgriWeatherDistRecord(String column, String tableName, String query ,String order, Integer limit);

    Integer saveAgriWeatherDistRecord(AgriWeatherDistRecord agriWeatherDistRecord);

    Integer updateAgriWeatherDistRecord(AgriWeatherDistRecord agriWeatherDistRecord);

    Integer deleteAgriWeatherDistRecord(int id);
}
